package com.allprs.hmcs.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author wjf
 * @描述: 积水点实体
 * @date 2024年06月13日
 * @version: 1.0
 */

@Data
@TableName(value = "ponding_point",schema = "city")
public class PondingPoint {

    @ApiModelProperty(value = "id")
    private int id;

    @ApiModelProperty(value = "积水点名称")
    private String name;

    @ApiModelProperty(value = "位置")
    private String position;

    @ApiModelProperty(value = "面积")
    private String area;

    @ApiModelProperty(value = "积水等级")
    private String level;

    @ApiModelProperty(value = "所属街道")
    private String street;

    @ApiModelProperty(value = "预警时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date warningTime;

    @ApiModelProperty(value = "处理状态")
    private String handleStatus;

    @ApiModelProperty(value = "积水描述")
    private String description;

    @ApiModelProperty(value = "处理前照片")
    private String beforeHandleImage;

    @ApiModelProperty(value = "处理中照片")
    private String handleImage;

    @ApiModelProperty(value = "处理后照片")
    private String afterHandleImage;

    @ApiModelProperty(value = "处理人")
    private String handleUser;

    @ApiModelProperty(value = "处理开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date handleStartTime;

    @ApiModelProperty(value = "处理结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date handleEndTime;


}
